<div class="am-form" style="padding:10px">
    <h3>请登陆</h3>
    <hr data-am-widget="divider" style="" class="am-divider am-divider-default"/>
    <div class="am-form-group am-form-icon">
        <i class="am-icon-user"></i>
        <input id="user_name" type="text" class="am-form-field" placeholder="用户名">
    </div>

    <div class="am-form-group am-form-icon">
        <i class="am-icon-key"></i>
        <input id="user_password" type="password" class="am-form-field" placeholder="密码">
    </div>
    <div class="am-checkbox">
        <label>
            <input id="user_login_local_auto" type="checkbox">自动登陆
        </label>
    </div>
    <span id="user_login_warning" class="app-warning">登陆失败，请检查输入</span>
    <div style="height:40px">
        <?php if ($login_type != 3) { //管理员登陆时 不需要注册按钮 ?>
            <button class="am-btn app-main-backcolor am-radius am-fr"
                    onclick="user_reg_goto(<?= $login_type ?>,<?= $login_para ?>)">我要注册
            </button>
        <?php } ?>
        <button class="am-btn app-main-backcolor am-radius am-fr" style="margin-right:10px"
                onclick="user_login(<?= $login_type ?>,<?= $login_para ?>)">登陆
        </button>
    </div>
</div>
<div class="app-content-divider"></div>
<div style="padding: 10px;">
    <div class="app-content-tittle">第三方登录</div>
    <div class="app-content">
        <a class="am-btn am-btn-danger am-radius" href="<?= $weibo_code_url ?>">
            <i class="am-icon-weibo"></i>微博
        </a>
        <a class="am-btn am-btn-success am-radius">
            <i class="am-icon-weixin"></i>微信
        </a>
        <div class="am-checkbox">
            <label>
                <input id="user_login_third_auto" type="checkbox" onclick="user_login_third_auto()">自动登陆
            </label>
        </div>
    </div>
</div>

